package com.cheer.ba.model;

import java.io.Serializable;

/**
 * 地图model
 *
 * @author HQ
 *         created at 2017/4/27 0027 13:49
 */
public class MapModel implements Serializable {

    //纬度
    private double latitude;

    //经度
    private double longitude;

    //点击标记的标题
    private String title;

    //姓名
    private String name;

    //电话
    private String phone;

    //地址
    private String address;

    //点击标记是否可拖拽
    private boolean draggable;

    //点击标记是否可见
    private boolean visible;

    //点的透明度
    private double alpha;

    public MapModel(double latitude, double longitude, String title, String name, String phone, String address, boolean draggable, boolean visible, double alpha) {
        this.latitude = latitude;
        this.longitude = longitude;
        this.title = title;
        this.name = name;
        this.phone = phone;
        this.address = address;
        this.draggable = draggable;
        this.visible = visible;
        this.alpha = alpha;
    }

    public double getLongitude() {
        return longitude;
    }

    public void setLongitude(double longitude) {
        this.longitude = longitude;
    }

    public double getLatitude() {
        return latitude;
    }

    public void setLatitude(double latitude) {
        this.latitude = latitude;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public boolean isDraggable() {
        return draggable;
    }

    public void setDraggable(boolean draggable) {
        this.draggable = draggable;
    }

    public boolean isVisible() {
        return visible;
    }

    public void setVisible(boolean visible) {
        this.visible = visible;
    }

    public double getAlpha() {
        return alpha;
    }

    public void setAlpha(double alpha) {
        this.alpha = alpha;
    }
}
